package com.tx.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.http.HttpServletRequest;

@Controller
@RequestMapping("/admin")
public class MainController {



    @RequestMapping("/index")
    public String index(HttpServletRequest request) {
        return "/index";
    }



    @RequestMapping("/welcome")
    public String welcome(HttpServletRequest request) {
        return "/welcome";
    }


}
